import request from '@/utils/request'
//

//获取水机列表
export function getMemberCardList(params) {
    return request({
        url: '/member/card',
        method: 'get',
        params
    })
}

//获取社区详情
export function getMemberCardDetail(params) {
    return request({
        url: '/member/card/detail',
        method: 'get',
        params
    })
}
export function getMemberCardSelectList(params) {
    return request({
        url: '/member/card/alllist',
        method: 'get',
        params
    })
}
//添加
export function createMemberCard(data) {
    return request({
        url: '/member/card/create',
        method: 'post',
        data
    })
}

//修改
export function updateMemberCard(data) {
    return request({
        url: '/member/card/update',
        method: 'put',
        data
    })
}


//修改
export function changeMemberCardFiledStatus(data) {
    return request({
        url: '/member/card/changeFiledStatus',
        method: 'put',
        data
    })
}


//删除
export function delMemberCard(data) {
    return request({
        url: '/member/card/delete',
        method: 'delete',
        data
    })
}


